FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/debian:12.10
RUN pwd
RUN mkdir -p /app
WORKDIR /app
# RUN cd /app
COPY target/mini-server /app
COPY run.sh /app/
# RUN ["chmod", "755", "/mini-server"]
EXPOSE 8009
# RUN ["echo", "look into /"]
# RUN ["ls", "-alh", "/"]
# RUN ["echo", "look into /app"]
# ENTRYPOINT ["ls", "-alh", "/app"]
ENTRYPOINT ["/app/mini-server", "--gc=G1"]
# ENTRYPOINT ["/app/run.sh"]
